home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscArrowButtonPalette / ABInspector.h < prev    next >
Text File  |  1995-04-12  |  1KB  |  43 lines

  1. // Copyright (C) 1995 Robert Todd Thomas
  2. // Use is governed by the MiscKit license
  3.  
  4. /***************************************************************************
  5.  * CLASS:        ABInspector
  6.  * PROGRAMMER:    Todd Thomas
  7.  * DATE:        Dec 30, 1993
  8.  *
  9.  *    A new inspector was in order since the old Button inspector dealt with
  10.  * attributes that mine did not, and some of the choices had adverse 
  11.  * effects on the way that ArrowButton functioned. 
  12.  *
  13.  ***************************************************************************/
  14.  
  15. #import <appkit/appkit.h>
  16. #import <apps/InterfaceBuilder.h>
  17.  
  18.  
  19. @interface ABInspector : IBInspector
  20. {
  21.     id    optionMatrix;                // bordered, transparent, etc.    
  22.     id    tagField;                    // the button's tag
  23.     id    titleField;                    // title field
  24.     id  altTitleField;                // altTitle field
  25.     id  soundField;                    // name of the sound
  26.     id  alignButton;                // the button showing current alignment
  27. }
  28.  
  29. - init;
  30.  
  31. - revert: sender;
  32.  
  33. - optionsChanged: sender;
  34. - tagChanged: sender;
  35. - titleChanged: sender;
  36. - altTitleChanged: sender;
  37. - soundChanged: sender;
  38. - alignmentChanged: sender;
  39.  
  40. - (BOOL)wantsButtons;
  41.  
  42. @end
  43.